Skip to content

fix(runs): keep a task flag on the exact task and version it was made for - #585

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/flag-edge-cases
Dec 1, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/flag-edge-cases

Conversation

@harenome

@harenome harenome commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #547

What

  • A version-bound flag covers only its checksum's trials: score, badge, trial tab, Compare, flags list.
  • The trial form binds its checksum.
  • Compare sets aside covered attempts per column before matching; names differing flags.
  • A task is set aside only with its last shown trial.
  • copy, feasibility, imports keep the evidence's checksum.
  • A refused transfer says why; an accepted covering flag is never replaced.
  • /flag-tasks writes identity, task_version; skips unresolved tasks.
  • flags remove takes ambiguous saved names.

Touches

  • Harbor: flags per attempt; spot skips conflicting checksums.
  • copy_flags, import_flags return a fourth list.
  • nullius compare --exclude: per attempt, as the page; JSON adds set_aside_tasks.
  • Ordinary flag files unchanged.

After

Job page: only the covered attempt is set aside Compare: columns flag different attempts
job page compare

Verified

  • A test per acceptance box and finding.
  • Backend 3569, routes 947.

Risk

  • Flagged tasks read per trial.

Agents

  • Claude Code, Opus 5.5
  • Claude Code, Fable 5.2
  • Codex, GPT-6.2-Astra

@github-actions github-actions Bot added the merge conflict Conflicts with its base: merge or rebase it label Dec 1, 2026
@harenome
harenome marked this pull request as ready for review December 1, 2026 14:48
@harenome
harenome force-pushed the fix/flag-edge-cases branch from 0a38764 to 0987c38 Compare December 1, 2026 14:49
@harenome
harenome force-pushed the fix/flag-edge-cases branch from 0987c38 to 1057078 Compare December 1, 2026 14:58
@github-actions github-actions Bot added needs review Tests pass, no conflict, no verdict on its latest commit and removed merge conflict Conflicts with its base: merge or rebase it labels Dec 1, 2026
@harenome
harenome merged commit 1037594 into ThinkFlowLab:main Dec 1, 2026
4 checks passed
@harenome
harenome deleted the fix/flag-edge-cases branch December 1, 2026 15:06
@github-actions github-actions Bot removed the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task flags: one job with several versions of a unit, and ambiguous legacy flag names

1 participant